<?php //Démrrage de la session
	session_start();
	
	include ("./settings_shop.php");
	
	if(empty($_SESSION['id_shop_connecte']) OR $_SESSION['id_shop_connecte'] != $shop)
	{//Si l'utilisateur n'est pas encore connecté on l'envoie vers la page de connexion
		header('location: ./connexion.php');
	}
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" >
	<head>
		<title>Vanadium Boquette - <?php echo $shop; ?></title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<link rel="icon" href="../commun_shop/ressources/favicon.ico" type="image/x-icon" />
		<link rel="stylesheet" media="screen" type="text/css" title="Design" href="../commun_shop/design.css" />
		<link rel="stylesheet" media="screen" type="text/css" title="Design" href="../ressources/css/boite_info.css" />
		<link rel="stylesheet" media="screen" type="text/css" title="Design" href="../ressources/css/boite_attention.css" />
		<link rel="stylesheet" media="screen" type="text/css" title="Design" href="../ressources/css/colorbox/colorbox.css" />
		<link rel="stylesheet" media="screen" type="text/css" title="Design" href="../ressources/css/thickbox.css" />
		<link rel="stylesheet" media="screen" type="text/css" title="Design" href="../ressources/css/autocomplete.css" />
		<link rel="stylesheet" media="screen" type="text/css" title="Design" href="../ressources/css/jquery_ui/jquery-ui-1.7.2.custom.css" />
		<script type="text/javascript" src="../ressources/javascript/jquery-1.3.2.min.js"></script>
		<script type='text/javascript' src='../ressources/javascript/jquery.colorbox-min.js'></script>
		<script type='text/javascript' src='../ressources/javascript/jquery.autocomplete.min.js'></script>
		<script type='text/javascript' src='../ressources/javascript/jquery-ui-1.7.2.custom.min.js'></script>
		<script type='text/javascript' src='../commun_shop/modules/index.js'></script>
		<script type='text/javascript' src='../ressources/javascript/jquery.hotkeys-0.7.9.min.js'></script>
	</head>
	<body>
		<?php
		include ("../commun_shop/modules/header.php");
		include ("../commun_shop/modules/body_consommation.php");
		include ("../commun_shop/modules/footer.php");
		?>
	</body>
</html>